build:
	bazel build -c dbg --sandbox_debug --experimental_cc_shared_library //...
	cp -f bazel-bin/calc/libcalc-1.0.0.so bin/lib/
	ln -s libcalc-1.0.0.so bin/lib/libcalc.so.1
	ln -s libcalc-1.0.0.so bin/lib/libcalc.so
	cp -f calc/calc.h bin/include/

clean:
	bazel clean
	rm -fr bin/include/*.h
	rm -fr bin/lib/*.so
	rm -fr bin/lib/libcalc.so.1